package com.computergames.server.message;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Set;

@Data
@ToString(callSuper = true)
public class RoomMembersResponseMessage extends AbstractResponseMessage<Set<String>>{
    public RoomMembersResponseMessage() {
    }

    public RoomMembersResponseMessage(boolean success, Set<String> members) {
        super(success, members);
    }

    @Override
    public int getMessageType() {
        return RoomMembersResponseMessage;
    }
}
